#ifndef MAPMANAGEDIALOG_H
#define MAPMANAGEDIALOG_H

#include <childwindowbase.h>

namespace Ui {
    class MapManageDialog;
}
class MapScene;

class MapManageDialog : public ChildWindowBase {
    Q_OBJECT
public:
	MapManageDialog(ChildWindowBase *parent = 0);
    ~MapManageDialog();

private slots:
	void onDeleteButton();
	void onAddButton();
	void onMapChanged(int index);
	void onClientComboActived(int index);
private:
	void setupMaps();
	void setupClients();
	void setupSignals();
protected:
    void changeEvent(QEvent *e);
	void showGroupView(int groupId);
private:
    Ui::MapManageDialog *ui;
	MapScene* m_MapScene;
};

#endif // MAPMANAGEDIALOG_H
